(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/dos.h>
BOOL DeleteFile()
SYNOPSIS
STRPTR name

LOCATION
In DOSBase at offset 12
FUNCTION
Tries to delete a file or directory by a given name. May fail if the file is in use or protected from deletion.

INPUTS
name
NUL terminated name.
RESULT
!=0 if the file is gone, 0 if is still there. IoErr() gives additional information in that case.

NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
RCS file: /home/AROS/CVS/AROS/rom/dos/deletefile.c,v Working file: ../../rom/dos/deletefile.c head: 1.5 branch: locks: strict access list: symbolic names: REL_1_8: 1.1 keyword substitution: kv total revisions: 5; selected revisions: 5 description: ---------------------------- revision 1.5 date: 1997/01/27 00:36:16; author: ldp; state: Exp; lines: +10 -5 Polish ---------------------------- revision 1.4 date: 1996/12/09 13:53:24; author: aros; state: Exp; lines: +5 -2 Added empty templates for all missing functions Moved #include's into first column ---------------------------- revision 1.3 date: 1996/10/24 15:50:26; author: aros; state: Exp; lines: +9 -6 Use the official AROS macros over the __AROS versions. ---------------------------- revision 1.2 date: 1996/09/21 14:14:22; author: digulla; state: Exp; lines: +9 -6 Hand DOSBase to DoName() ---------------------------- revision 1.1 date: 1996/09/11 12:54:45; author: digulla; state: Exp; A couple of new DOS functions from M. Fleischer =============================================================================